import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { UserPayQuery, UserPayVo } from './types';

/**
 * 查询用户列表
 * @param query
 */
export const listUserPay = (query: UserPayQuery): AxiosPromise<UserPayVo[]> => {
  return request({
    url: '/system/data/queryUserPayListPage',
    method: 'get',
    params: query
  });
};
